import request from '@/utils/request'

export function getSeller() {
  return request({
    url: '/json/seller.json',
    method: 'get'
  })
}

export function getRank() {
  return request({
    url: '/json/rank.json',
    method: 'get'
  })
}
export function getTrend() {
  return request({
    url: '/json/trend.json',
    method: 'get'
  })
}
export function getMap() {
  return request({
    url: '/json/map.json',
    method: 'get'
  })
}

export function getHotproduct() {
  return request({
    url: '/json/hotproduct.json',
    method: 'get'
  })
}
export function getStock() {
  return request({
    url: '/json/Stock.json',
    method: 'get'
  })
}

export function getChina() {
  return request({
    url: '/map/china.json',
    method: 'get'
  })
}

export function getProvince(arg) {
  return request({
    url: `/map/province/${arg}.json`,
    method: 'get'
  })
}
